package com.lagou.advice;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class MyAdvice {

    @Autowired
    public void before(){
        System.out.println("前置通知执行了");
    }
}
